package com.ccrfid.rmc6.service.poi;

import com.ccrfid.rmc6.appconfig.exception.pojo.AppException;
import com.ccrfid.rmc6.entity.poi.PoiLabelEntity;
import com.ccrfid.rmc6.repository.search.SearchCriteria;
import org.springframework.data.domain.Sort;

import java.util.List;

public interface PoiLabelService {
    List<PoiLabelEntity> getPoiLabelList(SearchCriteria criteria, Sort sort);
    //
    PoiLabelEntity getPoiLabelById(Long labelId);
    //
    PoiLabelEntity createPoiLabel(PoiLabelEntity entity);
    //
    PoiLabelEntity updatePoiLabel(Long labelId, PoiLabelEntity entity) throws AppException;
    //
    int deletePoiLabels(List<Long> idList);
}
